<%-- 
    Document   : accept
    Created on : Oct 5, 2013, 3:25:44 PM
    Author     : Viktor
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
</head>
<body>


<%  String b = (String)session.getAttribute("auth");
    if(b!=null && b.equals("true"))
    {
        out.println("<a href=\"manager/Reports.jsp\">Reports</a>"+"<br>");
        out.println("logged in as "+(String)session.getAttribute("username")+"<br>");
        out.println("<a href=\"mapTest.jsp\">Maps</a>"+"<br>");
        out.println("<a href=\"hotwire2.jsp\">search for hotels</a>"+"<br>");
        out.println("<a href=\"orderHistory\">order history</a>"+"<br>");



%>
<p/>
<%

        out.println("<a href=\"logout.jsp\">logout</a>"+"\n");
    }
    else
    {
        out.println("not logged in");
        out.println("<a href=\"register.jsp\">register</a>");
    }%>


</body>
</html>
